package org.squabble.web.account;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.SessionAttributes;
import org.squabble.domain.Account;


@Controller
@RequestMapping("/account")
@SessionAttributes(value={"account"})
public class AccountController {

	@RequestMapping(method = RequestMethod.GET)
	public String handleGet(@ModelAttribute("account") Account account, ModelMap modelMap) {

		return "account.detail";
	}

}
